﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RTracker.Models.Common;
using RTracker.Areas.Recruitment.Models.Client;


namespace RTracker.Areas.Recruitment.Models.VacancySalary
{
    public class GVacancySalary
    {
        // members declaration
        private List<CVacancySalary> _lstVacancySalary;
        private List<CClient> _lstClient;
        private CVacancySalary _oCVacancySalary;                              // to store object of CVacancySalary
        private CStatus _oCStatus;                          // to store object of CStatus
        private CPaging _oCPaging;
        private int m_nId;                                // to store organization id in case of save to return it to view. Based upon that we will refresh grid.

        // Default Constructor
        public GVacancySalary()
        {
            _lstVacancySalary = null;
            _oCVacancySalary = null;
            _lstClient = null;
            _oCStatus = null;
            _oCPaging = null;
        }

        // parameterized constructor
        public GVacancySalary(List<CVacancySalary> lstVacancySalary, List<CClient> lstClient, CVacancySalary oCVacancySalary, CStatus oCStatus, CPaging oCPaging)
        {
            _lstVacancySalary = lstVacancySalary;
            _oCVacancySalary = oCVacancySalary;
            _lstClient = lstClient;
            _oCStatus = oCStatus;
            _oCPaging = oCPaging;
        }

        #region  "Properties"


        public List<CVacancySalary> lstVacancySalary
        {
            get { return _lstVacancySalary; }
            set { _lstVacancySalary = value; }
        }



        /// <summary>
        /// Used to store object of CVacancySalary
        /// </summary>
        public CVacancySalary VacancySalary
        {
            get { return _oCVacancySalary; }
            set { _oCVacancySalary = value; }
        }

        public List<CClient> LstClient
        {
            get { return _lstClient; }
            set { _lstClient = value; }
        }


        /// <summary>
        /// Used to store object of CStatus
        /// </summary>
        public CStatus Status
        {
            get { return _oCStatus; }
            set { _oCStatus = value; }
        }

        /// <summary>
        /// Used to store object of CPaging
        /// </summary>
        public CPaging Paging
        {
            get { return _oCPaging; }
            set { _oCPaging = value; }
        }


        /// <summary>
        /// Used to store organization id
        /// </summary>
        public int Id
        {
            get { return m_nId; }
            set { m_nId = value; }
        }

        #endregion
    }
}